package org.apache.solr.ocean.search;

import java.math.BigDecimal;

import org.apache.solr.ocean.cache.DocSetCacheKey;
import org.apache.solr.search.DocSet;
import org.apache.solr.search.MultiDocSet;

public class SnapshotDocSet extends MultiDocSet {
  private final BigDecimal snapshotId;
  private final long[] indexIds;
  private final DocSetCacheKey cacheKey;
  
  public SnapshotDocSet(BigDecimal snapshotId, DocSet[] docSets, int[] starts, long[] indexIds, DocSetCacheKey cacheKey) {
    super(docSets, starts);
    this.snapshotId = snapshotId;
    this.indexIds = indexIds;
    this.cacheKey = cacheKey;
  }
  
  public DocSetCacheKey getCacheKey() {
    return cacheKey;
  }
}
